Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

123
Views
node-binance-api what to do if .withdraw() is "outdated"?

I'm starting to get acquainted with node-binance-api. So im trying to withdraw some usdt for test as it said in docs.

const Binance = require('node-binance-api');
const { api_key, secret_key } = ...

const binance = new Binance().options({
    APIKEY: api_key,
    APISECRET: secret_key,
    useServerTime: true,
    recvWindow: 60000
});

binance.withdraw("USDT", "some usdt binance address....", 0.1, false, function(response) {
    console.log(response);
});

So the problem is in console.log(response); that returns me a <ref *2> IncomingMessage {...} with this body:

This endpoint has been deprecated, please integrate with “POST@/sapi/v1/capital/withdraw/apply”. See details in the announcement: here

as I understand it, this method (.withdraw) uses /wapi, and I need to somehow change it to /sapi since vapi is outdated. The problem is that I don't know how to do it and I can't find a solution on my own. How can I avoid this problem and preferably not face it again? And if you can explain how this method should work and so on, I will be very grateful.

It can help:

<ref *2> Incoming Message on: node index.js command

Incoming Message body

Incoming Message _header

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!